pCon.planner Plugin SDK  Version 8.16
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
Public Member Functions | Public Attributes | List of all members
X3g::Plugin::VetoableActionEventInfo Class Reference

Parameter for events that allow plugins to prevent an action. More...

Public Member Functions

 VetoableActionEventInfo (bool pCanceled, System::String^ pCancelReason)
 Constructor to initialize the cancel state and reason. More...
 

Public Attributes

bool Canceled
 Set to true to cancel the associated action. More...
 
System::String^ CancelReason
 Optional reason why the associated action was canceled. More...
 

Detailed Description

Parameter for events that allow plugins to prevent an action.

Constructor & Destructor Documentation

X3g::Plugin::VetoableActionEventInfo::VetoableActionEventInfo ( bool  pCanceled,
System::String^  pCancelReason 
)

Constructor to initialize the cancel state and reason.

Member Data Documentation

bool X3g::Plugin::VetoableActionEventInfo::Canceled

Set to true to cancel the associated action.

System::String ^ X3g::Plugin::VetoableActionEventInfo::CancelReason

Optional reason why the associated action was canceled.